import http from "./http";
// 首页的咨询解惑
export const HconsultdataApi = (params) => http.get("/home", params);
//问答详情
export const getQuestApi = (params) => http.get("/ques", params);
//课程详情
export const getDetailApi = (params) => http.get("/detail", params);
// 咨询页面的数据请求
export const getcondata = (params) => http.get("/consu", params);
// 注册页面的数据请求
export const getRegister = (data) => http.post("/register", data);
//登录数据请求
export const getlogin = (data) => http.post("/Login", data);
// 城市数据
export const getcity = (params) => http.get("/city", params);
//跳转咨询详情页面数据请求
export const getdetaillistApi = (params) => http.get("/skpi", params);
